package com.pccw.ssh.testFactory;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class SpringBeanFactoryMethodI {
	
	private static ApplicationContext ctx;
	
	static {
		ctx = new ClassPathXmlApplicationContext("applicationContext-test-methodI.xml");
	}
	
	public static Object getBean(String name){
		return ctx.getBean(name);
	}

}
